package com.kayt.cyberBar.cpublic.business.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * CPublicReqTypeCode entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "c_public_req_type")
public class CPublicReqType implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 3777007885474537865L;
	private Long id;
	private String reqTypeCode;
	private String reqTypeName;
	private String createTime;
	private String updateTime;
	private String statusCode;

	// Constructors

	/** default constructor */
	public CPublicReqType() {
	}

	/** full constructor */
	public CPublicReqType(String reqTypeCode, String reqTypeName,
			String createTime, String updateTime, String statusCode) {
		this.reqTypeCode = reqTypeCode;
		this.reqTypeName = reqTypeName;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.statusCode = statusCode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "REQ_TYPE_CODE", length = 64)
	public String getReqTypeCode() {
		return this.reqTypeCode;
	}

	public void setReqTypeCode(String reqTypeCode) {
		this.reqTypeCode = reqTypeCode;
	}

	@Column(name = "REQ_TYPE_NAME", length = 64)
	public String getReqTypeName() {
		return this.reqTypeName;
	}

	public void setReqTypeName(String reqTypeName) {
		this.reqTypeName = reqTypeName;
	}

	@Column(name = "CREATE_TIME", length = 64)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME", length = 64)
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "STATUS_CODE", length = 64)
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

}